package com.dek.ssm.ch19;

import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;

@Service
public class TestService {
	
	
	@Cacheable(value="redisCacheManager", key="test+ #id" )
	public String test(long id) {
		return "test" + id;
	}
	
}
